public class Main
{
    public static final long SLEEP_INTERVAL = 4900L;
    public static final long SLEEP_OFFSET = 100L;

    public static void main(String[] args)
    {
        while (Thread.activeCount() < 256)
        {
            Visitor v = new Visitor();
            try {
                Thread.sleep(((long) Math.random()) * SLEEP_INTERVAL + SLEEP_OFFSET);
            } catch (InterruptedException e) {
                e.printStackTrace();
                System.exit(1);
            }
            v.start();
        }
    }
}
